Skip to content

Conversation

@Mia-Cross
Copy link
Contributor

The function to get the End of Service date of a commercial type to display a warning if it's about to be deprecated was filtering results from the Product Catalog according to the product field. But the content of this field might change in the future, whereas the offer_id nested attribute will not, therefore we should use this field as a filter instead.

This PR also removes a check where condition is always true.

@Mia-Cross Mia-Cross self-assigned this Jul 8, 2025
@Mia-Cross Mia-Cross added the instance Instance issues, bugs and feature requests label Jul 8, 2025
@Mia-Cross Mia-Cross force-pushed the instance_eos_filter_by_offer_id branch from 8994127 to c1c011c Compare July 21, 2025 09:48
@Mia-Cross Mia-Cross marked this pull request as ready for review July 21, 2025 12:05
@Mia-Cross Mia-Cross requested review from a team as code owners July 21, 2025 12:05
@remyleone remyleone added this pull request to the merge queue Jul 22, 2025
Merged via the queue into scaleway:master with commit 8f1ab5c Jul 22, 2025
44 checks passed
@Mia-Cross Mia-Cross deleted the instance_eos_filter_by_offer_id branch July 22, 2025 08:33
Laure-di pushed a commit to Laure-di/terraform-provider-scaleway that referenced this pull request Jul 28, 2025
…#3203)

* fix(instance): EoS warning: filter product list by offer_id

* record baremetal TestAccServer_WithIPAMPrivateNetwork test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

baremetal instance Instance issues, bugs and feature requests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants